<div class="search-box">
	<form class="search_form layui-form" lay-filter="access_config_search_form">
		<div class="layui-inline">
			<label class="layui-form-label">模块</label>
			<div class="layui-input-inline">
				<select name="module" lay-verify="required" lay-filter="access_config_search" >
					<option value="">请选择</option>
					{for start="0" end="count($module_arr)"}
					<option value="{$module_arr[$i]}">{$module_arr[$i]}</option>
					{/for}
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">控制器</label>
			<div class="layui-input-inline">
				<input type="text" name="controller_name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">功能</label>
			<div class="layui-input-inline">
				<input type="text" name="function_name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">使用说明</label>
			<div class="layui-input-inline">
				<input type="text" name="use_intro" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="pack-up"></div>
	</form>
</div>
<table class="layui-hide" id="access_config_list" lay-filter="access_config_list"></table>
<script>
	var access_config_list_url = "{:url('accessConfig/ajaxList')}",
		access_config_delete_url = "{:url('accessConfig/ajaxDelete')}",
		access_config_one_url = "{:url('accessConfig/ajaxOneData')}",
		access_config_save_url = "{:url('accessConfig/saveData')}",
		access_config_cols = {$cols};
</script>
<script type="text/html" id="accessConfigToolbar">
	<div class="layui-btn-container">
		<a type="button" data-id="add_adsense" data-url="{:url('accessConfig/tplForm')}" data-title="新增配置项" class="layui-btn layui-btn-normal layui-btn-sm tap-nav" lay-event="addAccessConfig"><i class="layui-icon layui-icon-add-1"></i>新增</a>
	</div>
</script>
<script type="text/html" id="access_config_tool">
	<div class="layui-btn-group">
		<a class="layui-btn layui-btn-normal layui-btn-xs tap-nav" lay-event="edit" data-id="edit_access_config_{{ d.access_config_id}}" data-url="{:url('accessConfig/tplForm')}?access_config_id={{ d.access_config_id}}" data-title="修改配置"><i class="layui-icon layui-icon-edit"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-title="删除"><i class="layui-icon layui-icon-delete"></i></a>
	</div>
</script>
<script src="/static/js/access_config/index.js" type="text/javascript" charset="utf-8"></script>